package com.example.dao;

import com.example.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
@Mapper
public interface Studentdao {
    /*
    查询所有
     */
    List<Student> Queryall();
    /*
    根据id删除
     */
    int Deleteaccordingtoid(int id);
    /*
    根据name  模糊查询
     */
    List<Student> Fuzzyquery(String name);
    /*
    增加数据
     */
    int Increasedata(Student student);
    /*
    修改  根据id修改
     */
    int changethedata(Student student);
}
